package com.hy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hy.entity.dto.PlaceSearchDTO;
import com.hy.entity.pojo.HyPlace;
import com.hy.entity.vo.HyPlaceVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface HyPlaceMapper extends BaseMapper<HyPlace> {


    List<HyPlaceVO> showPlacesByDto(@Param("page") Page page, @Param("dto") PlaceSearchDTO dto);



    Integer findplaceIdByUnitIdAndPlaceName(@Param("unitId") Integer unitId,@Param("placeName") String holdPlace);


    List<HyPlaceVO> findHyPlaceListByMap(Map<String, Object> queryCondition);
}
